package examples.jsf.event;

import examples.jsf.component.UIComponent;

/**
 * @author Bill
 * @version 2013-05-29
 */
public class FacesEvent {

    public FacesEvent(UIComponent component) {
        this.component = component;
    }

    private PhaseId phaseId = PhaseId.ANY_PHASE;

    private UIComponent component;

    public UIComponent getComponent() {
        return component;
    }

    public PhaseId getPhaseId() {
        return phaseId;
    }

    public void setPhaseId(PhaseId phaseId) {
        this.phaseId = phaseId;
    }
}
